package com.ouheng.shop.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



/**
 * 红包
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-10-08 10:13:38
 */
public class RedcodeDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//主键
	private Long id;
	//用户id
	private Long memberid;
	//订单id
	private Long orderid;
	//
	private Date createdate;
	//
	private Date modifydate;
	//删除标记
	private String state;
	//订单金额
	private BigDecimal ordermoney;
	//红包金额
	private BigDecimal redmoney;
	//
	private Long zmemberid;
	//1:普通，2vip
	private String type;
	//
	private BigDecimal memberlebe;
	//
	private BigDecimal zmemberlebe;
	
	//用户名称
	private String nickname;
	//用户图像
	private String image;

	/**
	 * 设置：主键
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：主键
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：用户id
	 */
	public void setMemberid(Long memberid) {
		this.memberid = memberid;
	}
	/**
	 * 获取：用户id
	 */
	public Long getMemberid() {
		return memberid;
	}
	/**
	 * 设置：订单id
	 */
	public void setOrderid(Long orderid) {
		this.orderid = orderid;
	}
	/**
	 * 获取：订单id
	 */
	public Long getOrderid() {
		return orderid;
	}
	/**
	 * 设置：
	 */
	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}
	/**
	 * 获取：
	 */
	public Date getCreatedate() {
		return createdate;
	}
	/**
	 * 设置：
	 */
	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}
	/**
	 * 获取：
	 */
	public Date getModifydate() {
		return modifydate;
	}
	/**
	 * 设置：删除标记
	 */
	public void setState(String state) {
		this.state = state;
	}
	/**
	 * 获取：删除标记
	 */
	public String getState() {
		return state;
	}
	/**
	 * 设置：订单金额
	 */
	public void setOrdermoney(BigDecimal ordermoney) {
		this.ordermoney = ordermoney;
	}
	/**
	 * 获取：订单金额
	 */
	public BigDecimal getOrdermoney() {
		return ordermoney;
	}
	/**
	 * 设置：红包金额
	 */
	public void setRedmoney(BigDecimal redmoney) {
		this.redmoney = redmoney;
	}
	/**
	 * 获取：红包金额
	 */
	public BigDecimal getRedmoney() {
		return redmoney;
	}
	/**
	 * 设置：
	 */
	public void setZmemberid(Long zmemberid) {
		this.zmemberid = zmemberid;
	}
	/**
	 * 获取：
	 */
	public Long getZmemberid() {
		return zmemberid;
	}
	/**
	 * 设置：1:普通，2vip
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * 获取：1:普通，2vip
	 */
	public String getType() {
		return type;
	}
	/**
	 * 设置：
	 */
	public void setMemberlebe(BigDecimal memberlebe) {
		this.memberlebe = memberlebe;
	}
	/**
	 * 获取：
	 */
	public BigDecimal getMemberlebe() {
		return memberlebe;
	}
	/**
	 * 设置：
	 */
	public void setZmemberlebe(BigDecimal zmemberlebe) {
		this.zmemberlebe = zmemberlebe;
	}
	/**
	 * 获取：
	 */
	public BigDecimal getZmemberlebe() {
		return zmemberlebe;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	
	
}
